package com.thinkgem.jeesite.modules.sys.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 标识管理Entity
 * 
 * @author Perry___
 *
 */
public class Identifier extends DataEntity<Identifier> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String entityName ;	//实体类名称
	private String entityDes ;	//中文表名称
	private IdentifierType identifierType ; //标识类型
	private String rule ;		//标识规则
	private int length ;	//长度
	
	public Identifier() {
		super();
	}

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public String getEntityDes() {
		return entityDes;
	}

	public void setEntityDes(String entityDes) {
		this.entityDes = entityDes;
	}

	public IdentifierType getIdentifierType() {
		return identifierType;
	}

	public void setIdentifierType(IdentifierType identifierType) {
		this.identifierType = identifierType;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	@Override
	public String toString() {
		return "Identifier [entityName=" + entityName + ", entityDes="
				+ entityDes + ", identifierType=" + identifierType + ", rule="
				+ rule + ", length=" + length + ", remarks=" + remarks
				+ ", createBy=" + createBy + ", createDate=" + createDate
				+ ", updateBy=" + updateBy + ", updateDate=" + updateDate
				+ ", delFlag=" + delFlag + ", codeNum=" + codeNum
				+ ", codeFlag=" + codeFlag + ", id=" + id + ", currentUser="
				+ currentUser + ", page=" + page + ", sqlMap=" + sqlMap
				+ ", isNewRecord=" + isNewRecord + ", getEntityName()="
				+ getEntityName() + ", getEntityDes()=" + getEntityDes()
				+ ", getIdentifierType()=" + getIdentifierType()
				+ ", getRule()=" + getRule() + ", getLength()=" + getLength()
				+ ", getRemarks()=" + getRemarks() + ", getCreateBy()="
				+ getCreateBy() + ", getCreateDate()=" + getCreateDate()
				+ ", getUpdateBy()=" + getUpdateBy() + ", getUpdateDate()="
				+ getUpdateDate() + ", getDelFlag()=" + getDelFlag()
				+ ", getCodeNum()=" + getCodeNum() + ", getCodeFlag()="
				+ getCodeFlag() + ", getId()=" + getId()
				+ ", getCurrentUser()=" + getCurrentUser() + ", getPage()="
				+ getPage() + ", getSqlMap()=" + getSqlMap()
				+ ", getIsNewRecord()=" + getIsNewRecord() + ", getGlobal()="
				+ getGlobal() + ", getDbName()=" + getDbName()
				+ ", toString()=" + super.toString() + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + "]";
	}
	
}
